package fun.chutianshu;

public class Main {

    public static void main(String[] args) {
        /*
	// write your code here
        //Player lxy = new Player();
        Player lxy = new Player("李逍遥",100,50);
        lxy.printInfo();

        Player lyr = new Player("林月如",80,100);
        lyr.printInfo();

       Monster frog = new Monster("蛤蟆精",150,20);
        frog.printInfo();

        //lxy.pk(frog);
        */
        Player lxy = new Player("李逍遥",100,50);
        lxy.printInfo();

        Player lyr = new Player("林月如",80,100);
        lyr.printInfo();

        Monster frog = new Monster("蛤蟆精",150,20);
        frog.printInfo();

        frog.pk(lxy);

        //lxy.pk(frog);

        lxy.pk(lyr);
    }
}
